package com.hwadee.springboot.controller.StudentController;

import com.hwadee.springboot.entity.R;
import com.hwadee.springboot.service.StudentPortraitService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class StudentPotraitController {
    @Autowired
    private StudentPortraitService studentPortraitService;

    @GetMapping("/student/Academyanalyse")
    public R getStudentPortraitByID(@Param("studentid") Long studentid) { return this.studentPortraitService.getStudentPortraitByID(studentid); }
}
